package com.zp.base.entity.bo;

import com.zp.common.core.entity.BaseEntity;
import com.zp.common.core.validate.AddGroup;
import com.zp.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 手术基础字典多个类型业务对象
 *
 * @author zhang peng
 * @date 2023-01-11
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class OperationDictIcd10Bo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = {EditGroup.class})
    private String operationDictId;

    /**
     * 手术编码
     */
    @NotBlank(message = "手术编码不能为空", groups = {AddGroup.class, EditGroup.class})
    private String operationCode;

    /**
     * 手术名称
     */
    @NotBlank(message = "手术名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String operationName;

    /**
     * 手术规模
     */
    @NotBlank(message = "手术规模不能为空", groups = {AddGroup.class, EditGroup.class})
    private String operationScale;

    /**
     * 迹象
     */
    private String stdIndicator;

    /**
     * 经核准的迹象
     */
    private String approvedIndicator;

    /**
     * 手术编码类型
     */
    @NotBlank(message = "手术编码类型不能为空", groups = {AddGroup.class, EditGroup.class})
    private String diagnosisOperType;

    /**
     * 拼音码
     */
    private String inputCode;

    /**
     * 备注
     */
    private String remark;


}
